<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>nih: nih::Image&lt; T &gt; Class Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nih
   &#160;<span id="projectnumber">0.5</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classnih_1_1_image.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">nih::Image&lt; T &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__images.html">Images</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="nih::Image" -->
<p><code>#include &lt;<a class="el" href="image_8h_source.html">image.h</a>&gt;</code></p>

<p><a href="classnih_1_1_image-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd70636148b2bb570d959437657923d9"></a><!-- doxytag: member="nih::Image::Field_type" ref="abd70636148b2bb570d959437657923d9" args="" -->
typedef T&#160;</td><td class="memItemRight" valign="bottom"><b>Field_type</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa83a82e4c33be9e6a5d2c0b29f358027"></a><!-- doxytag: member="nih::Image::Row_const_iterator" ref="aa83a82e4c33be9e6a5d2c0b29f358027" args="" -->
typedef std::vector&lt; T * &gt;<br class="typebreak"/>
::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>Row_const_iterator</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a384c4a2ca348f3bb3aef7717754312e6"></a><!-- doxytag: member="nih::Image::Row_iterator" ref="a384c4a2ca348f3bb3aef7717754312e6" args="" -->
typedef std::vector&lt; T * &gt;<br class="typebreak"/>
::iterator&#160;</td><td class="memItemRight" valign="bottom"><b>Row_iterator</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#a9c8b360b9c6c43d67a8ea5039910b730">Image</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#a82643045a9ab3f076b33a311320da116">Image</a> (const <a class="el" href="classnih_1_1_image.html">Image</a> &amp;image)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnih_1_1_image.html">Image</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#aa7485220a5eeb31401def6c3e72d48be">operator=</a> (const <a class="el" href="classnih_1_1_image.html">Image</a> &amp;image)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#ae9797fafa8e69882f19bfcb4f1227bba">set</a> (const uint32 res_x, const uint32 res_y, const T def=T(0.0))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#ac8b325d9f7271215b974082b7639ec3f">clear</a> (const T def)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#ab637ec6e7b92f39038c2e827961586c9">resolution</a> (const uint32 i) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#a166ef231ddfb1d5fff0a6d174ec0d182">cols</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#a149bc73b02026b3c97e0e1bf8b7d2833">rows</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#ab5f3462b149680faf6fec6c818408c0b">operator()</a> (const uint32 x, const uint32 y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#a1b6584cd7349186c6e6faca6856f77a5">operator()</a> (const uint32 x, const uint32 y) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#a98250285c5f8a0e1ab672ae0ae453a54">operator[]</a> (const uint32 y) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#ac49ee0f27d5da14952e3ad890c8a6bda">operator[]</a> (const uint32 y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Row_const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#affe9b98c67f1e4d27b6bfb0cbb4ed6c6">begin</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Row_const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#a78c6027f77af6aa6f72dac6b84269ae7">end</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Row_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#af5c16c3840bd5b706ebb1e3a546aabc8">begin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Row_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnih_1_1_image.html#a12fa4f245c121a0634ffe963c3f1aefa">end</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br/>
class nih::Image&lt; T &gt;</h3>

<p>An abstract image (i.e. large matrix) class over elements of templated type T. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9c8b360b9c6c43d67a8ea5039910b730"></a><!-- doxytag: member="nih::Image::Image" ref="a9c8b360b9c6c43d67a8ea5039910b730" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::<a class="el" href="classnih_1_1_image.html">Image</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>empty constructor </p>

</div>
</div>
<a class="anchor" id="a82643045a9ab3f076b33a311320da116"></a><!-- doxytag: member="nih::Image::Image" ref="a82643045a9ab3f076b33a311320da116" args="(const Image &amp;image)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::<a class="el" href="classnih_1_1_image.html">Image</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnih_1_1_image.html">Image</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>copy constructor </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>image to copy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="affe9b98c67f1e4d27b6bfb0cbb4ed6c6"></a><!-- doxytag: member="nih::Image::begin" ref="affe9b98c67f1e4d27b6bfb0cbb4ed6c6" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Row_const_iterator <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>begin row iterator </p>

</div>
</div>
<a class="anchor" id="af5c16c3840bd5b706ebb1e3a546aabc8"></a><!-- doxytag: member="nih::Image::begin" ref="af5c16c3840bd5b706ebb1e3a546aabc8" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Row_iterator <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>begin row iterator </p>

</div>
</div>
<a class="anchor" id="ac8b325d9f7271215b974082b7639ec3f"></a><!-- doxytag: member="nih::Image::clear" ref="ac8b325d9f7271215b974082b7639ec3f" args="(const T def)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::clear </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>def</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>clear the image to a default value </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">def</td><td>default value </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a166ef231ddfb1d5fff0a6d174ec0d182"></a><!-- doxytag: member="nih::Image::cols" ref="a166ef231ddfb1d5fff0a6d174ec0d182" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">uint32 <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::cols </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>return # of columns </p>

</div>
</div>
<a class="anchor" id="a78c6027f77af6aa6f72dac6b84269ae7"></a><!-- doxytag: member="nih::Image::end" ref="a78c6027f77af6aa6f72dac6b84269ae7" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Row_const_iterator <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>end row iterator </p>

</div>
</div>
<a class="anchor" id="a12fa4f245c121a0634ffe963c3f1aefa"></a><!-- doxytag: member="nih::Image::end" ref="a12fa4f245c121a0634ffe963c3f1aefa" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Row_iterator <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>begin row iterator </p>

</div>
</div>
<a class="anchor" id="ab5f3462b149680faf6fec6c818408c0b"></a><!-- doxytag: member="nih::Image::operator()" ref="ab5f3462b149680faf6fec6c818408c0b" args="(const uint32 x, const uint32 y)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T &amp; <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>non-const access to (x,y) pixel </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>x coordinate </td></tr>
    <tr><td class="paramname">y</td><td>y coordinate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1b6584cd7349186c6e6faca6856f77a5"></a><!-- doxytag: member="nih::Image::operator()" ref="a1b6584cd7349186c6e6faca6856f77a5" args="(const uint32 x, const uint32 y) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T &amp; <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>const access to (x,y) pixel </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>x coordinate </td></tr>
    <tr><td class="paramname">y</td><td>y coordinate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa7485220a5eeb31401def6c3e72d48be"></a><!-- doxytag: member="nih::Image::operator=" ref="aa7485220a5eeb31401def6c3e72d48be" args="(const Image &amp;image)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnih_1_1_image.html">Image</a>&lt; T &gt; &amp; <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnih_1_1_image.html">Image</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>copy operator </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>image to copy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a98250285c5f8a0e1ab672ae0ae453a54"></a><!-- doxytag: member="nih::Image::operator[]" ref="a98250285c5f8a0e1ab672ae0ae453a54" args="(const uint32 y) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T * <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>y</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>dereference operator for rows </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">y</td><td>y coordinate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac49ee0f27d5da14952e3ad890c8a6bda"></a><!-- doxytag: member="nih::Image::operator[]" ref="ac49ee0f27d5da14952e3ad890c8a6bda" args="(const uint32 y)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T * <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>y</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>non-const dereference operator for rows </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">y</td><td>y coordinate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab637ec6e7b92f39038c2e827961586c9"></a><!-- doxytag: member="nih::Image::resolution" ref="ab637ec6e7b92f39038c2e827961586c9" args="(const uint32 i) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">uint32 <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::resolution </td>
          <td>(</td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>return resolution </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>axis </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a149bc73b02026b3c97e0e1bf8b7d2833"></a><!-- doxytag: member="nih::Image::rows" ref="a149bc73b02026b3c97e0e1bf8b7d2833" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">uint32 <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::rows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>return # of rows </p>

</div>
</div>
<a class="anchor" id="ae9797fafa8e69882f19bfcb4f1227bba"></a><!-- doxytag: member="nih::Image::set" ref="ae9797fafa8e69882f19bfcb4f1227bba" args="(const uint32 res_x, const uint32 res_y, const T def=T(0.0))" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnih_1_1_image.html">nih::Image</a>&lt; T &gt;::set </td>
          <td>(</td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>res_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>res_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>def</em> = <code>T(0.0)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set the image resolution </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">res_x</td><td>x resolution </td></tr>
    <tr><td class="paramname">res_y</td><td>y resolution </td></tr>
    <tr><td class="paramname">def</td><td>default value </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>image/<a class="el" href="image_8h_source.html">image.h</a></li>
<li>image/<a class="el" href="image__inline_8h_source.html">image_inline.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>nih</b>      </li>
      <li class="navelem"><a class="el" href="classnih_1_1_image.html">Image</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Thu Dec 15 2011 11:56:22 for nih by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
